<admintpl file="header"/></head>
<body>
<div class="wrap js-check-wrap">
    <ul class="nav nav-tabs">
        <php>
            //来源
            $from_type = I('get.from_type');
            switch ($from_type){
            case '1':
            $from_url = U('indexadmin/index');
            $from_text = '本站用户';
            break;
            case '2':
            $from_url = U('indexadmin/risk_audit');
            $from_text = '风控审核';
            break;
            case '3':
            $from_url = U('indexadmin/myuser');
            $from_text = '我的客户';
            break;
            case '4':
            $from_url = U('indexadmin/reflux_user',['byusers'=>3]);
            $from_text = '回流用户';
            break;
			case '5':
					$from_url = U('examine/loan');
					$from_text = '初次已放款列表';
					break;
            default:
            $from_url = U('indexadmin/index');
            $from_text = '本站用户';
            break;
            }
        </php>
        <if condition="(I('request.is_dis') eq 1)">
            <php>
                $disp = I('request.disp');
            </php>
            <if condition="($disp eq '1')">
                <li><a href="{:U('Examine/loan_third')}">第三方催缴列表</a></li>
                <elseif condition="(I('request.disp') eq '2')"/>
                <li><a href="{:U('Examine/cntinued')}">续借未审核列表</a></li>
                <elseif condition="(I('request.disp') eq '3')"/>
                <li><a href="{:U('Examine/loan_last')}">待放款列表</a></li>
                <elseif condition="(I('request.disp') eq 'padtrial')"/>
                <li><a href="{:U('padtrial/index')}">电审未审核列表</a></li>
                <elseif condition="(I('request.disp') eq 'renew_padtrial')"/>
                <li><a href="{:U('padtrial/index')}">续借电审列表</a></li>
                <elseif condition="(I('request.disp') eq 'm1')"/>
                <li><a href="{:U('Examine/loan_overdue_m1')}">逾期M1列表</a></li>
                <elseif condition="(I('request.disp') eq 'm2')"/>
                <li><a href="{:U('Examine/loan_overdue_m2')}">逾期M2列表</a></li>
                <else/>
                <li><a href="{:U('Examine/loan_overdue')}">逾期列表</a></li>
            </if>
            <li><a href="{:U('Examine/overdue_info',array('id'=>$order['id'],'disp'=>$disp))}">{$list.name}详情</a></li>
            <else/>
            <li><a href="{$from_url}">{$from_text}</a></li>
            <li><a href="{:U('indexadmin/see',array('id'=>$list['user_id'],'from_type'=>$from_type))}">{$list.name} 用户详情</a></li>
        </if>
        <li class="active"><a>{$list.name} 聚信立信用报告(无融360报告时使用)</a></li>
    </ul>
    <fieldset>
	<if condition="($disp neq '1')">
        <a class="btn btn-warning btn-lg" style="float: right;"  href="{:U('report/refresh_user_report',array('id'=>$list['user_id']))}">更新该用户信用报告</a>
	</if>	
        <table class="table">
            <thead>
            <tr>
                <th>更新时间</th>
                <th>操作</th>
            </tr>
            </thead>
            <tbody>
            <foreach name="data" item="vo">
                <tr>
                    <td>{$vo.update_time}</td>
                    <td><a class="btn btn-success btn-lg"  href="{:U(\'report/user_report_sub\',array(\'id\'=>$vo[\'id\']))}" target="_blank">点击查看该客户信用报告</a></td>
                </tr>
            </foreach>
            </tbody>
        </table>
    </fieldset>
</div>
<script src="__PUBLIC__/js/common.js"></script>
</body></html>